home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1999 July: Mac OS SDK / Dev.CD Jul 99 SDK1.toast / Development Kits / Mac OS / Interfaces&Libraries / Universal / Interfaces / AIncludes / GXErrors.a < prev    next >
Encoding:
Text File  |  1998-08-17  |  27.8 KB  |  791 lines  |  [TEXT/MPS ]

  1. ;
  2. ;    File:        GXErrors.a
  3. ;
  4. ;    Contains:    QuickDraw GX error constants and debugging routines
  5. ;
  6. ;    Version:    Technology:    Quickdraw GX 1.1
  7. ;                Release:    Universal Interfaces 3.2
  8. ;
  9. ;    Copyright:    © 1994-1998 by Apple Computer, Inc., all rights reserved.
  10. ;
  11. ;    Bugs?:        For bug reports, consult the following page on
  12. ;                the World Wide Web:
  13. ;
  14. ;                    http://developer.apple.com/bugreporter/
  15. ;
  16. ;
  17.     IF &TYPE('__GXERRORS__') = 'UNDEFINED' THEN
  18. __GXERRORS__ SET 1
  19.  
  20.     IF &TYPE('__CONDITIONALMACROS__') = 'UNDEFINED' THEN
  21.     include 'ConditionalMacros.a'
  22.     ENDIF
  23.     IF &TYPE('__MIXEDMODE__') = 'UNDEFINED' THEN
  24.     include 'MixedMode.a'
  25.     ENDIF
  26.     IF &TYPE('__GXTYPES__') = 'UNDEFINED' THEN
  27.     include 'GXTypes.a'
  28.     ENDIF
  29.  
  30.  
  31. gxFirstSystemError                EQU        -27999                ; 0xffff92a1 
  32. gxFirstFatalError                EQU        -27999
  33. gxLastFatalError                EQU        -27951
  34. gxFirstNonfatalError            EQU        -27950
  35. gxFirstFontScalerError            EQU        -27900
  36. gxLastFontScalerError            EQU        -27851
  37. gxFirstParameterError            EQU        -27850
  38. gxFirstImplementationLimitError    EQU        -27800
  39. gxFirstSystemDebuggingError        EQU        -27700
  40. gxLastSystemError                EQU        -27000                ; 0xffff9688 
  41. gxFirstLibraryError                EQU        1048576                ; 0x00100000 
  42. gxLastLibraryError                EQU        2097151                ; 0x001fffff 
  43. gxFirstAppError                    EQU        2097152                ; 0x00200000 
  44. gxLastAppError                    EQU        4194303                ; 0x003fffff 
  45. gxFirstSystemWarning            EQU        -26999                ; 0xffff9689 
  46. gxFirstResultOutOfRangeWarning    EQU        -26950
  47. gxFirstParameterOutOfRangeWarning EQU    -26900
  48. gxFirstFontScalerWarning        EQU        -26850
  49. gxFirstSystemDebuggingWarning    EQU        -26700
  50. gxLastSystemWarning                EQU        -26000                ; 0xffff9a70 
  51. gxFirstLibraryWarning            EQU        4194304                ; 0x00400000 
  52. gxLastLibraryWarning            EQU        5242879                ; 0x004fffff 
  53. gxFirstAppWarning                EQU        5242880                ; 0x00500000 
  54. gxLastAppWarning                EQU        7340031                ; 0x006fffff 
  55. gxFirstSystemNotice                EQU        -25999                ; 0xffff9a71 
  56. gxLastSystemNotice                EQU        -25500                ; 0xffff9c64 
  57. gxFirstLibraryNotice            EQU        7340032                ; 0x00700000 
  58. gxLastLibraryNotice                EQU        7602175                ; 0x0073ffff 
  59. gxFirstAppNotice                EQU        7602176                ; 0x00740000 
  60. gxLastAppNotice                    EQU        8388607                ; 0x007fffff 
  61.  
  62.                                                             ; truly fatal errors 
  63. out_of_memory                    EQU        -27999
  64. internal_fatal_error            EQU        -27998
  65. no_outline_font_found            EQU        -27997
  66. not_enough_memory_for_graphics_client_heap EQU -27996
  67. could_not_create_backing_store    EQU        -27995                ; internal errors 
  68. internal_error                    EQU        -27950
  69. internal_font_error                EQU        -27949
  70. internal_layout_error            EQU        -27948                ; recoverable errors 
  71. could_not_dispose_backing_store    EQU        -27946
  72. unflattening_interrupted_by_client EQU    -27945                ; font manager errors 
  73. font_cannot_be_changed            EQU        -27944
  74. illegal_font_parameter            EQU        -27943                ; gxFont scaler errors 
  75. null_font_scaler_context        EQU        -27900
  76. null_font_scaler_input            EQU        -27899
  77. invalid_font_scaler_context        EQU        -27898
  78. invalid_font_scaler_input        EQU        -27897
  79. invalid_font_scaler_font_data    EQU        -27896
  80. font_scaler_newblock_failed        EQU        -27895
  81. font_scaler_getfonttable_failed    EQU        -27894
  82. font_scaler_bitmap_allocation_failed EQU -27893
  83. font_scaler_outline_allocation_failed EQU -27892
  84. required_font_scaler_table_missing EQU    -27891
  85. unsupported_font_scaler_outline_format EQU -27890
  86. unsupported_font_scaler_stream_format EQU -27889
  87. unsupported_font_scaler_font_format EQU    -27888
  88. font_scaler_hinting_error        EQU        -27887
  89. font_scaler_rasterizer_error    EQU        -27886
  90. font_scaler_internal_error        EQU        -27885
  91. font_scaler_invalid_matrix        EQU        -27884
  92. font_scaler_fixed_overflow        EQU        -27883
  93. font_scaler_api_version_mismatch EQU    -27882
  94. font_scaler_streaming_aborted    EQU        -27881
  95. unknown_font_scaler_error        EQU        -27880                ; bad parameters 
  96. parameter_is_nil                EQU        -27850
  97. shape_is_nil                    EQU        -27849
  98. style_is_nil                    EQU        -27848
  99. transform_is_nil                EQU        -27847
  100. ink_is_nil                        EQU        -27846
  101. transferMode_is_nil                EQU        -27845
  102. color_is_nil                    EQU        -27844
  103. colorProfile_is_nil                EQU        -27843
  104. colorSet_is_nil                    EQU        -27842
  105. spoolProcedure_is_nil            EQU        -27841
  106. tag_is_nil                        EQU        -27840
  107. type_is_nil                        EQU        -27839
  108. mapping_is_nil                    EQU        -27838
  109. invalid_viewDevice_reference    EQU        -27837
  110. invalid_viewGroup_reference        EQU        -27836
  111. invalid_viewPort_reference        EQU        -27835                ; implementation limits, these should be right before the debugging errors 
  112. number_of_contours_exceeds_implementation_limit EQU -27800
  113. number_of_points_exceeds_implementation_limit EQU -27799
  114. size_of_polygon_exceeds_implementation_limit EQU -27798
  115. size_of_path_exceeds_implementation_limit EQU -27797
  116. size_of_text_exceeds_implementation_limit EQU -27796
  117. size_of_bitmap_exceeds_implementation_limit EQU -27795
  118. number_of_colors_exceeds_implementation_limit EQU -27794
  119. procedure_not_reentrant            EQU        -27793
  120.  
  121.  
  122.  
  123.                                                             ; internal debugging errors 
  124. functionality_unimplemented        EQU        -27700
  125. clip_to_frame_shape_unimplemented EQU    -27699                ; font parameter debugging errors 
  126. illegal_font_storage_type        EQU        -27698
  127. illegal_font_storage_reference    EQU        -27697
  128. illegal_font_attributes            EQU        -27696                ; parameter debugging errors 
  129. parameter_out_of_range            EQU        -27695
  130. inconsistent_parameters            EQU        -27694
  131. index_is_less_than_zero            EQU        -27693
  132. index_is_less_than_one            EQU        -27692
  133. count_is_less_than_zero            EQU        -27691
  134. count_is_less_than_one            EQU        -27690
  135. contour_is_less_than_zero        EQU        -27689
  136. length_is_less_than_zero        EQU        -27688
  137. invalid_client_reference        EQU        -27687
  138. invalid_graphics_heap_start_pointer EQU    -27686
  139. invalid_nongraphic_globals_pointer EQU    -27685
  140. colorSpace_out_of_range            EQU        -27684
  141. pattern_lattice_out_of_range    EQU        -27683
  142. frequency_parameter_out_of_range EQU    -27682
  143. tinting_parameter_out_of_range    EQU        -27681
  144. method_parameter_out_of_range    EQU        -27680
  145. space_may_not_be_indexed        EQU        -27679
  146. glyph_index_too_small            EQU        -27678
  147. no_glyphs_added_to_font            EQU        -27677
  148. glyph_not_added_to_font            EQU        -27676
  149. point_does_not_intersect_bitmap    EQU        -27675
  150. required_font_table_not_present    EQU        -27674
  151. unknown_font_table_format        EQU        -27673                ; the styles encoding is not present in the font 
  152. shapeFill_not_allowed            EQU        -27672
  153. inverseFill_face_must_set_clipLayer_flag EQU -27671
  154. invalid_transferMode_colorSpace    EQU        -27670
  155. colorProfile_must_be_nil        EQU        -27669
  156. bitmap_pixel_size_must_be_1        EQU        -27668
  157. empty_shape_not_allowed            EQU        -27667
  158. ignorePlatformShape_not_allowed    EQU        -27666
  159. nil_style_in_glyph_not_allowed    EQU        -27665
  160. complex_glyph_style_not_allowed    EQU        -27664
  161. invalid_mapping                    EQU        -27663
  162. cannot_set_item_shapes_to_nil    EQU        -27662
  163. cannot_use_original_item_shapes_when_growing_picture EQU -27661
  164. cannot_add_unspecified_new_glyphs EQU    -27660
  165. cannot_dispose_locked_tag        EQU        -27659
  166. cannot_dispose_locked_shape        EQU        -27658                ; restricted access 
  167. shape_access_not_allowed        EQU        -27657
  168. colorSet_access_restricted        EQU        -27656
  169. colorProfile_access_restricted    EQU        -27655
  170. tag_access_restricted            EQU        -27654
  171. viewDevice_access_restricted    EQU        -27653
  172. graphic_type_does_not_have_a_structure EQU -27652
  173. style_run_array_does_not_match_number_of_characters EQU -27651
  174. rectangles_cannot_be_inserted_into EQU    -27650
  175. unknown_graphics_heap            EQU        -27649
  176. graphics_routine_selector_is_obsolete EQU -27648
  177. cannot_set_graphics_client_memory_without_setting_size EQU -27647
  178. graphics_client_memory_too_small EQU    -27646
  179. graphics_client_memory_is_already_allocated EQU -27645
  180. viewPort_is_a_window            EQU        -27644                ; wrong type/bad reference 
  181. illegal_type_for_shape            EQU        -27643
  182. shape_does_not_contain_a_bitmap    EQU        -27642
  183. shape_does_not_contain_text        EQU        -27641
  184. picture_expected                EQU        -27640
  185. bitmap_is_not_resizable            EQU        -27639
  186. shape_may_not_be_a_bitmap        EQU        -27638
  187. shape_may_not_be_a_picture        EQU        -27637
  188. graphic_type_does_not_contain_points EQU -27636
  189. graphic_type_does_not_have_multiple_contours EQU -27635
  190. graphic_type_cannot_be_mapped    EQU        -27634
  191. graphic_type_cannot_be_moved    EQU        -27633
  192. graphic_type_cannot_be_scaled    EQU        -27632
  193. graphic_type_cannot_be_rotated    EQU        -27631
  194. graphic_type_cannot_be_skewed    EQU        -27630
  195. graphic_type_cannot_be_reset    EQU        -27629
  196. graphic_type_cannot_be_dashed    EQU        -27628
  197. graphic_type_cannot_be_reduced    EQU        -27627
  198. graphic_type_cannot_be_inset    EQU        -27626
  199. shape_cannot_be_inverted        EQU        -27625
  200. shape_does_not_have_area        EQU        -27624
  201. shape_does_not_have_length        EQU        -27623
  202. first_glyph_advance_must_be_absolute EQU -27622
  203. picture_cannot_contain_itself    EQU        -27621
  204. viewPort_cannot_contain_itself    EQU        -27620
  205. cannot_set_unique_items_attribute_when_picture_contains_items EQU -27619
  206. layer_style_cannot_contain_a_face EQU    -27618
  207. layer_glyph_shape_cannot_contain_nil_styles EQU -27617        ; validation errors 
  208. object_wrong_type                EQU        -27616
  209. shape_wrong_type                EQU        -27615
  210. style_wrong_type                EQU        -27614
  211. ink_wrong_type                    EQU        -27613
  212. transform_wrong_type            EQU        -27612
  213. device_wrong_type                EQU        -27611
  214. port_wrong_type                    EQU        -27610                ; validation cache errors 
  215. shape_cache_wrong_type            EQU        -27609
  216. style_cache_wrong_type            EQU        -27608
  217. ink_cache_wrong_type            EQU        -27607
  218. transform_cache_wrong_type        EQU        -27606
  219. port_cache_wrong_type            EQU        -27605
  220. shape_cache_parent_mismatch        EQU        -27604
  221. style_cache_parent_mismatch        EQU        -27603
  222. ink_cache_parent_mismatch        EQU        -27602
  223. transform_cache_parent_mismatch    EQU        -27601
  224. port_cache_parent_mismatch        EQU        -27600
  225. invalid_shape_cache_port        EQU        -27599
  226. invalid_shape_cache_device        EQU        -27598
  227. invalid_ink_cache_port            EQU        -27597
  228. invalid_ink_cache_device        EQU        -27596
  229. invalid_style_cache_port        EQU        -27595
  230. invalid_style_cache_device        EQU        -27594
  231. invalid_transform_cache_port    EQU        -27593
  232. invalid_transform_cache_device    EQU        -27592
  233. recursive_caches                EQU        -27591                ; validation shape cache errors 
  234. invalid_fillShape_ownerCount    EQU        -27590
  235. recursive_fillShapes            EQU        -27589                ; validation memory block errors 
  236. indirect_memory_block_too_small    EQU        -27588
  237. indirect_memory_block_too_large    EQU        -27587
  238. unexpected_nil_pointer            EQU        -27586
  239. bad_address                        EQU        -27585                ; validation object errors 
  240. no_owners                        EQU        -27584
  241. invalid_pointer                    EQU        -27583
  242. invalid_seed                    EQU        -27582
  243. invalid_frame_seed                EQU        -27581
  244. invalid_text_seed                EQU        -27580
  245. invalid_draw_seed                EQU        -27579
  246. bad_private_flags                EQU        -27578                ; validation path and polygon errors 
  247. invalid_vector_count            EQU        -27577
  248. invalid_contour_count            EQU        -27576                ; validation bitmap errors 
  249. bitmap_ptr_too_small            EQU        -27575
  250. bitmap_ptr_not_aligned            EQU        -27574
  251. bitmap_rowBytes_negative        EQU        -27573
  252. bitmap_width_negative            EQU        -27572
  253. bitmap_height_negative            EQU        -27571
  254. invalid_pixelSize                EQU        -27570
  255. bitmap_rowBytes_too_small        EQU        -27569
  256. bitmap_rowBytes_not_aligned        EQU        -27568
  257. bitmap_rowBytes_must_be_specified_for_user_image_buffer EQU -27567 ; validation bitmap image errors 
  258. invalid_bitImage_fileOffset        EQU        -27566
  259. invalid_bitImage_owners            EQU        -27565
  260. invalid_bitImage_rowBytes        EQU        -27564
  261. invalid_bitImage_internal_flag    EQU        -27563                ; validation text errors 
  262. text_bounds_cache_wrong_size    EQU        -27562
  263. text_metrics_cache_wrong_size    EQU        -27561
  264. text_index_cache_wrong_size        EQU        -27560                ; validation glyph errors 
  265. glyph_run_count_negative        EQU        -27559
  266. glyph_run_count_zero            EQU        -27558
  267. glyph_run_counts_do_not_sum_to_character_count EQU -27557
  268. glyph_first_advance_bit_set_not_allowed EQU -27556
  269. glyph_tangent_vectors_both_zero    EQU        -27555                ; validation layout errors 
  270. layout_run_length_negative        EQU        -27554
  271. layout_run_length_zero            EQU        -27553
  272. layout_run_level_negative        EQU        -27552
  273. layout_run_lengths_do_not_sum_to_text_length EQU -27551        ; validation picture errors 
  274. bad_shape_in_picture            EQU        -27550
  275. bad_style_in_picture            EQU        -27549
  276. bad_ink_in_picture                EQU        -27548
  277. bad_transform_in_picture        EQU        -27547
  278. bad_shape_cache_in_picture        EQU        -27546
  279. bad_seed_in_picture                EQU        -27545
  280. invalid_picture_count            EQU        -27544                ; validation text face errors 
  281. bad_textLayer_count                EQU        -27543
  282. bad_fillType_in_textFace        EQU        -27542
  283. bad_style_in_textFace            EQU        -27541
  284. bad_transform_in_textFace        EQU        -27540                ; validation transform errors 
  285. invalid_matrix_flag                EQU        -27539
  286. transform_clip_missing            EQU        -27538                ; validation font cache errors 
  287. metrics_wrong_type                EQU        -27537
  288. metrics_point_size_probably_bad    EQU        -27536
  289. scalar_block_wrong_type            EQU        -27535
  290. scalar_block_parent_mismatch    EQU        -27534
  291. scalar_block_too_small            EQU        -27533
  292. scalar_block_too_large            EQU        -27532
  293. invalid_metrics_range            EQU        -27531
  294. invalid_metrics_flags            EQU        -27530
  295. metrics_maxWidth_probably_bad    EQU        -27529
  296. font_wrong_type                    EQU        -27528
  297. font_wrong_size                    EQU        -27527
  298. invalid_font_platform            EQU        -27526
  299. invalid_lookup_range            EQU        -27525
  300. invalid_lookup_platform            EQU        -27524
  301. font_not_in_font_list            EQU        -27523
  302. metrics_not_in_metrics_list        EQU        -27522                ; validation view device errors 
  303. bad_device_private_flags        EQU        -27521
  304. bad_device_attributes            EQU        -27520
  305. invalid_device_number            EQU        -27519
  306. invalid_device_viewGroup        EQU        -27518
  307. invalid_device_bounds            EQU        -27517
  308. invalid_bitmap_in_device        EQU        -27516                ; validation color set errors 
  309. colorSet_wrong_type                EQU        -27515
  310. invalid_colorSet_viewDevice_owners EQU    -27514
  311. invalid_colorSet_colorSpace        EQU        -27513
  312. invalid_colorSet_count            EQU        -27512                ; validation color profile errors 
  313. colorProfile_wrong_type            EQU        -27511
  314. invalid_colorProfile_flags        EQU        -27510
  315. invalid_colorProfile_response_count EQU    -27509                ; validation internal backing store errors 
  316. backing_free_parent_mismatch    EQU        -27508
  317. backing_store_parent_mismatch    EQU        -27507
  318.  
  319.  
  320.                                                             ; warnings about warnings 
  321. warning_stack_underflow            EQU        -26999
  322. warning_stack_overflow            EQU        -26998
  323. notice_stack_underflow            EQU        -26997
  324. notice_stack_overflow            EQU        -26996
  325. about_to_grow_heap                EQU        -26995
  326. about_to_unload_objects            EQU        -26994                ; result went out of range 
  327. map_shape_out_of_range            EQU        -26950
  328. move_shape_out_of_range            EQU        -26949
  329. scale_shape_out_of_range        EQU        -26948
  330. rotate_shape_out_of_range        EQU        -26947
  331. skew_shape_out_of_range            EQU        -26946
  332. map_transform_out_of_range        EQU        -26945
  333. move_transform_out_of_range        EQU        -26944
  334. scale_transform_out_of_range    EQU        -26943
  335. rotate_transform_out_of_range    EQU        -26942
  336. skew_transform_out_of_range        EQU        -26941
  337. map_points_out_of_range            EQU        -26940                ; gave a parameter out of range 
  338. contour_out_of_range            EQU        -26900
  339. index_out_of_range_in_contour    EQU        -26899
  340. picture_index_out_of_range        EQU        -26898
  341. color_index_requested_not_found    EQU        -26897
  342. colorSet_index_out_of_range        EQU        -26896
  343. index_out_of_range                EQU        -26895
  344. count_out_of_range                EQU        -26894
  345. length_out_of_range                EQU        -26893
  346. font_table_index_out_of_range    EQU        -26892
  347. font_glyph_index_out_of_range    EQU        -26891
  348. point_out_of_range                EQU        -26890
  349. profile_response_out_of_range    EQU        -26889                ; gxFont scaler warnings 
  350. font_scaler_no_output            EQU        -26850
  351. font_scaler_fake_metrics        EQU        -26849
  352. font_scaler_fake_linespacing    EQU        -26848
  353. font_scaler_glyph_substitution    EQU        -26847
  354. font_scaler_no_kerning_applied    EQU        -26846                ; might not be what you expected 
  355. character_substitution_took_place EQU    -26845
  356. unable_to_get_bounds_on_multiple_devices EQU -26844
  357. font_language_not_found            EQU        -26843
  358. font_not_found_during_unflattening EQU    -26842                ;storage 
  359. unrecognized_stream_version        EQU        -26841
  360. bad_data_in_stream                EQU        -26840
  361.  
  362.  
  363.                                                             ; nonsense data 
  364. new_shape_contains_invalid_data    EQU        -26700
  365. new_tag_contains_invalid_data    EQU        -26699
  366. extra_data_passed_was_ignored    EQU        -26698
  367. font_table_not_found            EQU        -26697
  368. font_name_not_found                EQU        -26696                ; doesn't make sense to do 
  369. unable_to_traverse_open_contour_that_starts_or_ends_off_the_curve EQU -26695
  370. unable_to_draw_open_contour_that_starts_or_ends_off_the_curve EQU -26694
  371. cannot_dispose_default_shape    EQU        -26693
  372. cannot_dispose_default_style    EQU        -26692
  373. cannot_dispose_default_ink        EQU        -26691
  374. cannot_dispose_default_transform EQU    -26690
  375. cannot_dispose_default_colorProfile EQU    -26689
  376. cannot_dispose_default_colorSet    EQU        -26688
  377. shape_direct_attribute_not_set    EQU        -26687                ; couldn't find what you were looking for 
  378. point_does_not_intersect_port    EQU        -26686
  379. cannot_dispose_non_font            EQU        -26685
  380. face_override_style_font_must_match_style EQU -26684
  381. union_of_area_and_length_returns_area_only EQU -26683
  382. insufficient_coordinate_space_for_new_device EQU -26682        ; other 
  383. shape_passed_has_no_bounds        EQU        -26681
  384. tags_of_type_flst_removed        EQU        -26680
  385. translator_not_installed_on_this_grafport EQU -26679
  386.  
  387. parameters_have_no_effect        EQU        -25999
  388. attributes_already_set            EQU        -25998
  389. caps_already_set                EQU        -25997
  390. clip_already_set                EQU        -25996
  391. color_already_set                EQU        -25995
  392. curve_error_already_set            EQU        -25994
  393. dash_already_set                EQU        -25993
  394. default_colorProfile_already_set EQU    -25992
  395. default_ink_already_set            EQU        -25991
  396. default_transform_already_set    EQU        -25990
  397. default_shape_already_set        EQU        -25989
  398. default_style_already_set        EQU        -25988
  399. dither_already_set                EQU        -25987
  400. encoding_already_set            EQU        -25986
  401. face_already_set                EQU        -25985
  402. fill_already_set                EQU        -25984
  403. font_already_set                EQU        -25983
  404. font_variations_already_set        EQU        -25982
  405. glyph_positions_are_already_set    EQU        -25981
  406. glyph_tangents_are_already_set    EQU        -25980
  407. halftone_already_set            EQU        -25979
  408. hit_test_already_set            EQU        -25978
  409. ink_already_set                    EQU        -25977
  410. join_already_set                EQU        -25976
  411. justification_already_set        EQU        -25975
  412. mapping_already_set                EQU        -25974
  413. pattern_already_set                EQU        -25973
  414. pen_already_set                    EQU        -25972
  415. style_already_set                EQU        -25971
  416. tag_already_set                    EQU        -25970
  417. text_attributes_already_set        EQU        -25969
  418. text_size_already_set            EQU        -25968
  419. transfer_already_set            EQU        -25967
  420. translator_already_installed_on_this_grafport EQU -25966
  421. transform_already_set            EQU        -25965
  422. type_already_set                EQU        -25964
  423. validation_level_already_set    EQU        -25963
  424. viewPorts_already_set            EQU        -25962
  425. viewPort_already_in_viewGroup    EQU        -25961
  426. viewDevice_already_in_viewGroup    EQU        -25960
  427. geometry_unaffected                EQU        -25959
  428. mapping_unaffected                EQU        -25958
  429. tags_in_shape_ignored            EQU        -25957
  430. shape_already_in_primitive_form    EQU        -25956
  431. shape_already_in_simple_form    EQU        -25955
  432. shape_already_broken            EQU        -25954
  433. shape_already_joined            EQU        -25953
  434. cache_already_cleared            EQU        -25952
  435. shape_not_disposed                EQU        -25951
  436. style_not_disposed                EQU        -25950
  437. ink_not_disposed                EQU        -25949
  438. transform_not_disposed            EQU        -25948
  439. colorSet_not_disposed            EQU        -25947
  440. colorProfile_not_disposed        EQU        -25946
  441. font_not_disposed                EQU        -25945
  442. glyph_tangents_have_no_effect    EQU        -25944
  443. glyph_positions_determined_by_advance EQU -25943
  444. transform_viewPorts_already_set    EQU        -25942
  445. directShape_attribute_set_as_side_effect EQU -25941
  446. lockShape_called_as_side_effect    EQU        -25940
  447. lockTag_called_as_side_effect    EQU        -25939
  448. shapes_unlocked_as_side_effect    EQU        -25938
  449. shape_not_locked                EQU        -25937
  450. tag_not_locked                    EQU        -25936
  451. profile_not_locked                EQU        -25936
  452. lockProfile_called_as_side_effect EQU    -25939
  453. disposed_dead_caches            EQU        -25935
  454. disposed_live_caches            EQU        -25934
  455. low_on_memory                    EQU        -25933
  456. very_low_on_memory                EQU        -25932
  457. transform_references_disposed_viewPort EQU -25931
  458.  
  459. ; typedef long                             gxGraphicsError
  460.  
  461. ; typedef long                             gxGraphicsWarning
  462.  
  463. ; typedef long                             gxGraphicsNotice
  464.  
  465. ; typedef gxUserErrorProcPtr             gxUserErrorFunction
  466.  
  467. ; typedef gxUserWarningProcPtr             gxUserWarningFunction
  468.  
  469. ; typedef gxUserNoticeProcPtr             gxUserNoticeFunction
  470.  
  471.  
  472.  
  473. common_colors_not_initialized    EQU        1048576
  474. no_open_picture                    EQU        1048577
  475. picture_already_open            EQU        1048578
  476. no_open_poly                    EQU        1048579
  477. poly_already_open                EQU        1048580
  478. no_open_region                    EQU        1048581
  479. region_already_open                EQU        1048582
  480. no_active_picture                EQU        1048583
  481.  
  482. no_picture_drawn                EQU        4194304
  483. polygons_have_different_size_contours EQU 4194305
  484. graphic_type_cannot_be_specifed_by_four_values EQU 4194306
  485. graphic_type_cannot_be_specifed_by_six_values EQU 4194307
  486. point_expected                    EQU        4194308
  487. line_or_rectangle_expected        EQU        4194309
  488. curve_expected                    EQU        4194310
  489. graphic_type_does_not_contain_control_bits EQU 4194311
  490. request_exceeds_available_data    EQU        4194312
  491. extra_data_unread                EQU        4194313
  492. no_variable_length_user_data_saved EQU    4194314
  493.  
  494. zero_length_string_passed        EQU        7340032
  495.  
  496.                                                             ; These levels tell how to validate routines.  Choose one. 
  497. gxNoValidation                    EQU        $00                    ; no validation 
  498. gxPublicValidation                EQU        $01                    ; check parameters to public routines 
  499. gxInternalValidation            EQU        $02                    ; check parameters to internal routines 
  500.                                                             ; These levels tell how to validate types.  Choose one. 
  501. gxTypeValidation                EQU        $00                    ; check types of objects 
  502. gxStructureValidation            EQU        $10                    ; check fields of private structures 
  503. gxAllObjectValidation            EQU        $20                    ; check every object over every call 
  504.                                                             ; These levels tell how to validate memory manager blocks.  Choose any combination. 
  505. gxNoMemoryManagerValidation        EQU        $0000
  506. gxApBlockValidation                EQU        $0100                ; check the relevant block structures after each memory mgr. call 
  507. gxFontBlockValidation            EQU        $0200                ; check the system gxHeap as well 
  508. gxApHeapValidation                EQU        $0400                ; check the memory manager’s gxHeap after every mem. call 
  509. gxFontHeapValidation            EQU        $0800                ; check the system gxHeap as well 
  510. gxCheckApHeapValidation            EQU        $1000                ; check the memory manager’s gxHeap if checking routine parameters 
  511. gxCheckFontHeapValidation        EQU        $2000                ; check the system gxHeap as well 
  512. ; typedef long                             gxValidationLevel
  513.  
  514.  
  515. no_draw_error                    EQU        0                    ; gxShape type errors 
  516. shape_emptyType                    EQU        1
  517. shape_inverse_fullType            EQU        2
  518. rectangle_zero_width            EQU        3
  519. rectangle_zero_height            EQU        4
  520. polygon_empty                    EQU        5
  521. path_empty                        EQU        6
  522. bitmap_zero_width                EQU        7
  523. bitmap_zero_height                EQU        8
  524. text_empty                        EQU        9
  525. glyph_empty                        EQU        10
  526. layout_empty                    EQU        11
  527. picture_empty                    EQU        12                    ; general gxShape errors 
  528. shape_no_fill                    EQU        13
  529. shape_no_enclosed_area            EQU        14
  530. shape_no_enclosed_pixels        EQU        15
  531. shape_very_small                EQU        16
  532. shape_very_large                EQU        17
  533. shape_contours_cancel            EQU        18                    ; gxStyle errors 
  534. pen_too_small                    EQU        19
  535. text_size_too_small                EQU        20
  536. dash_empty                        EQU        21
  537. start_cap_empty                    EQU        22
  538. pattern_empty                    EQU        23
  539. textFace_empty                    EQU        24
  540. shape_primitive_empty            EQU        25
  541. shape_primitive_very_small        EQU        26                    ; gxInk errors 
  542. transfer_equals_noMode            EQU        27
  543. transfer_matrix_ignores_source    EQU        28
  544. transfer_matrix_ignores_device    EQU        29
  545. transfer_source_reject            EQU        30
  546. transfer_mode_ineffective        EQU        31
  547. colorSet_no_entries                EQU        32
  548. bitmap_colorSet_one_entry        EQU        33                    ; gxTransform errors 
  549. transform_scale_too_small        EQU        34
  550. transform_map_too_large            EQU        35
  551. transform_move_too_large        EQU        36
  552. transform_scale_too_large        EQU        37
  553. transform_rotate_too_large        EQU        38
  554. transform_perspective_too_large    EQU        39
  555. transform_skew_too_large        EQU        40
  556. transform_clip_no_intersection    EQU        41
  557. transform_clip_empty            EQU        42
  558. transform_no_viewPorts            EQU        43                    ; gxViewPort errors 
  559. viewPort_disposed                EQU        44
  560. viewPort_clip_empty                EQU        45
  561. viewPort_clip_no_intersection    EQU        46
  562. viewPort_scale_too_small        EQU        47
  563. viewPort_map_too_large            EQU        48
  564. viewPort_move_too_large            EQU        49
  565. viewPort_scale_too_large        EQU        50
  566. viewPort_rotate_too_large        EQU        51
  567. viewPort_perspective_too_large    EQU        52
  568. viewPort_skew_too_large            EQU        53
  569. viewPort_viewGroup_offscreen    EQU        54                    ; gxViewDevice errors 
  570. viewDevice_clip_no_intersection    EQU        55
  571. viewDevice_scale_too_small        EQU        56
  572. viewDevice_map_too_large        EQU        57
  573. viewDevice_move_too_large        EQU        58
  574. viewDevice_scale_too_large        EQU        59
  575. viewDevice_rotate_too_large        EQU        60
  576. viewDevice_perspective_too_large EQU    61
  577. viewDevice_skew_too_large        EQU        62
  578. ; typedef long                             gxDrawError
  579.  
  580. ;
  581. ; extern gxDrawError GXGetShapeDrawError(gxShape source)
  582. ;
  583.     IF TARGET_OS_MAC ** TARGET_CPU_68K ** ¬ TARGET_RT_MAC_CFM THEN
  584.         Macro
  585.         _GXGetShapeDrawError
  586.             move.w              #$01EE,D0
  587.             dc.w                $A832
  588.         EndM
  589.     ELSEIF TARGET_OS_MAC ** TARGET_RT_MAC_CFM THEN
  590.         IMPORT_CFM_FUNCTION GXGetShapeDrawError
  591.     ENDIF
  592.  
  593. ;
  594. ; extern void GXValidateAll(void )
  595. ;
  596.     IF TARGET_OS_MAC ** TARGET_CPU_68K ** ¬ TARGET_RT_MAC_CFM THEN
  597.         Macro
  598.         _GXValidateAll
  599.             move.w              #$01EF,D0
  600.             dc.w                $A832
  601.         EndM
  602.     ELSEIF TARGET_OS_MAC ** TARGET_RT_MAC_CFM THEN
  603.         IMPORT_CFM_FUNCTION GXValidateAll
  604.     ENDIF
  605.  
  606. ;
  607. ; extern void GXValidateColorSet(gxColorSet target)
  608. ;
  609.     IF TARGET_OS_MAC ** TARGET_CPU_68K ** ¬ TARGET_RT_MAC_CFM THEN
  610.         Macro
  611.         _GXValidateColorSet
  612.             move.w              #$01F0,D0
  613.             dc.w                $A832
  614.         EndM
  615.     ELSEIF TARGET_OS_MAC ** TARGET_RT_MAC_CFM THEN
  616.         IMPORT_CFM_FUNCTION GXValidateColorSet
  617.     ENDIF
  618.  
  619. ;
  620. ; extern void GXValidateColorProfile(gxColorProfile target)
  621. ;
  622.     IF TARGET_OS_MAC ** TARGET_CPU_68K ** ¬ TARGET_RT_MAC_CFM THEN
  623.         Macro
  624.         _GXValidateColorProfile
  625.             move.w              #$01F1,D0
  626.             dc.w                $A832
  627.         EndM
  628.     ELSEIF TARGET_OS_MAC ** TARGET_RT_MAC_CFM THEN
  629.         IMPORT_CFM_FUNCTION GXValidateColorProfile
  630.     ENDIF
  631.  
  632. ;
  633. ; extern void GXValidateGraphicsClient(gxGraphicsClient target)
  634. ;
  635.     IF TARGET_OS_MAC ** TARGET_CPU_68K ** ¬ TARGET_RT_MAC_CFM THEN
  636.         Macro
  637.         _GXValidateGraphicsClient
  638.             move.w              #$01F2,D0
  639.             dc.w                $A832
  640.         EndM
  641.     ELSEIF TARGET_OS_MAC ** TARGET_RT_MAC_CFM THEN
  642.         IMPORT_CFM_FUNCTION GXValidateGraphicsClient
  643.     ENDIF
  644.  
  645. ;
  646. ; extern void GXValidateInk(gxInk target)
  647. ;
  648.     IF TARGET_OS_MAC ** TARGET_CPU_68K ** ¬ TARGET_RT_MAC_CFM THEN
  649.         Macro
  650.         _GXValidateInk
  651.             move.w              #$01F3,D0
  652.             dc.w                $A832
  653.         EndM
  654.     ELSEIF TARGET_OS_MAC ** TARGET_RT_MAC_CFM THEN
  655.         IMPORT_CFM_FUNCTION GXValidateInk
  656.     ENDIF
  657.  
  658. ;
  659. ; extern void GXValidateShape(gxShape target)
  660. ;
  661.     IF TARGET_OS_MAC ** TARGET_CPU_68K ** ¬ TARGET_RT_MAC_CFM THEN
  662.         Macro
  663.         _GXValidateShape
  664.             move.w              #$01F4,D0
  665.             dc.w                $A832
  666.         EndM
  667.     ELSEIF TARGET_OS_MAC ** TARGET_RT_MAC_CFM THEN
  668.         IMPORT_CFM_FUNCTION GXValidateShape
  669.     ENDIF
  670.  
  671. ;
  672. ; extern void GXValidateStyle(gxStyle target)
  673. ;
  674.     IF TARGET_OS_MAC ** TARGET_CPU_68K ** ¬ TARGET_RT_MAC_CFM THEN
  675.         Macro
  676.         _GXValidateStyle
  677.             move.w              #$01F5,D0
  678.             dc.w                $A832
  679.         EndM
  680.     ELSEIF TARGET_OS_MAC ** TARGET_RT_MAC_CFM THEN
  681.         IMPORT_CFM_FUNCTION GXValidateStyle
  682.     ENDIF
  683.  
  684. ;
  685. ; extern void GXValidateTag(gxTag target)
  686. ;
  687.     IF TARGET_OS_MAC ** TARGET_CPU_68K ** ¬ TARGET_RT_MAC_CFM THEN
  688.         Macro
  689.         _GXValidateTag
  690.             move.w              #$01F6,D0
  691.             dc.w                $A832
  692.         EndM
  693.     ELSEIF TARGET_OS_MAC ** TARGET_RT_MAC_CFM THEN
  694.         IMPORT_CFM_FUNCTION GXValidateTag
  695.     ENDIF
  696.  
  697. ;
  698. ; extern void GXValidateTransform(gxTransform target)
  699. ;
  700.     IF TARGET_OS_MAC ** TARGET_CPU_68K ** ¬ TARGET_RT_MAC_CFM THEN
  701.         Macro
  702.         _GXValidateTransform
  703.             move.w              #$01F7,D0
  704.             dc.w                $A832
  705.         EndM
  706.     ELSEIF TARGET_OS_MAC ** TARGET_RT_MAC_CFM THEN
  707.         IMPORT_CFM_FUNCTION GXValidateTransform
  708.     ENDIF
  709.  
  710. ;
  711. ; extern void GXValidateViewDevice(gxViewDevice target)
  712. ;
  713.     IF TARGET_OS_MAC ** TARGET_CPU_68K ** ¬ TARGET_RT_MAC_CFM THEN
  714.         Macro
  715.         _GXValidateViewDevice
  716.             move.w              #$01F8,D0
  717.             dc.w                $A832
  718.         EndM
  719.     ELSEIF TARGET_OS_MAC ** TARGET_RT_MAC_CFM THEN
  720.         IMPORT_CFM_FUNCTION GXValidateViewDevice
  721.     ENDIF
  722.  
  723. ;
  724. ; extern void GXValidateViewPort(gxViewPort target)
  725. ;
  726.     IF TARGET_OS_MAC ** TARGET_CPU_68K ** ¬ TARGET_RT_MAC_CFM THEN
  727.         Macro
  728.         _GXValidateViewPort
  729.             move.w              #$01F9,D0
  730.             dc.w                $A832
  731.         EndM
  732.     ELSEIF TARGET_OS_MAC ** TARGET_RT_MAC_CFM THEN
  733.         IMPORT_CFM_FUNCTION GXValidateViewPort
  734.     ENDIF
  735.  
  736. ;
  737. ; extern void GXValidateViewGroup(gxViewGroup target)
  738. ;
  739.     IF TARGET_OS_MAC ** TARGET_CPU_68K ** ¬ TARGET_RT_MAC_CFM THEN
  740.         Macro
  741.         _GXValidateViewGroup
  742.             move.w              #$01FA,D0
  743.             dc.w                $A832
  744.         EndM
  745.     ELSEIF TARGET_OS_MAC ** TARGET_RT_MAC_CFM THEN
  746.         IMPORT_CFM_FUNCTION GXValidateViewGroup
  747.     ENDIF
  748.  
  749. ;
  750. ; extern gxValidationLevel GXGetValidation(void )
  751. ;
  752.     IF TARGET_OS_MAC ** TARGET_CPU_68K ** ¬ TARGET_RT_MAC_CFM THEN
  753.         Macro
  754.         _GXGetValidation
  755.             move.w              #$01FB,D0
  756.             dc.w                $A832
  757.         EndM
  758.     ELSEIF TARGET_OS_MAC ** TARGET_RT_MAC_CFM THEN
  759.         IMPORT_CFM_FUNCTION GXGetValidation
  760.     ENDIF
  761.  
  762. ;
  763. ; extern void GXSetValidation(gxValidationLevel level)
  764. ;
  765.     IF TARGET_OS_MAC ** TARGET_CPU_68K ** ¬ TARGET_RT_MAC_CFM THEN
  766.         Macro
  767.         _GXSetValidation
  768.             move.w              #$01FC,D0
  769.             dc.w                $A832
  770.         EndM
  771.     ELSEIF TARGET_OS_MAC ** TARGET_RT_MAC_CFM THEN
  772.         IMPORT_CFM_FUNCTION GXSetValidation
  773.     ENDIF
  774.  
  775. ;
  776. ; extern long GXGetValidationError(char *procedureName, void **argument, long *argumentNumber)
  777. ;
  778.     IF TARGET_OS_MAC ** TARGET_CPU_68K ** ¬ TARGET_RT_MAC_CFM THEN
  779.         Macro
  780.         _GXGetValidationError
  781.             move.w              #$01FD,D0
  782.             dc.w                $A832
  783.         EndM
  784.     ELSEIF TARGET_OS_MAC ** TARGET_RT_MAC_CFM THEN
  785.         IMPORT_CFM_FUNCTION GXGetValidationError
  786.     ENDIF
  787.  
  788.  
  789.     ENDIF ; __GXERRORS__ 
  790.  
  791.